﻿<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/teleweb/common/global.jsp" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>中国通信服务</title>
<link href="teleweb/css/ztf.css" rel="stylesheet" type="text/css" />
<link href="teleweb/css/roll.css" rel="stylesheet" type="text/css" />
<link href="teleweb/css/content.css" rel="stylesheet" type="text/css" />
</head>
<body>
<table width="960" border="0" align="center" cellpadding="0" cellspacing="0">
  <!-- 主体table -->
  <%request.setAttribute("panel","WN");%>
  <%@ include file="/teleweb/common/include/header.jsp" %>
  
  <tr>
    <!---首页内容--->
    <td class="new_indexcontent"><div class="new_stars">
      <div class="new_weizhi">你现在所在的位置：<a href="${ctx}/index">首页</a>><a href="${ctx}/listWorkNews.action">工作动态</a></div>
      </div>
      <!---圆角--->
      <div class="box-cir3">
        <div class="t_l"></div>
        <div class="t_m"></div>
        <div class="t_r"></div>
        <div class="m_l"></div>
        <div class="m_m1">
          <!---标题内容--->
          <div class="new_heading1">
            <h3>工作动态</h3>
          </div>
          <div class="new_article">
          	<c:if test="${!empty wn.resultList}">
				<c:forEach items="${wn.resultList}" var="wn">
					<h3>${wn.title}<br/></h3>
            		<h1>${wn.subTitle}</h1>
		            <h6>${fn:substring(wn.publishDate, 0, 16)}&nbsp;&nbsp;
		            	<c:if test="${!empty wn.source}">
		            	来源: ${wn.source}
		            	</c:if>
		            	&nbsp;&nbsp;点击数:${wn.clickCount} </h6>
		            <p> ${wn.content} </p>
		          
		            <c:if test="${!empty photos}">
		              <div class="new_articleimg">
					  <c:forEach items="${photos}" var="po">
				           <img src="${po}"><br/><br/>
					  </c:forEach>
					  </div>
				    </c:if>
				</c:forEach>
			</c:if>
          </div>
          <div class="new_ordera">
          
	      <pg:pager id="worknews_pager" url="detailWorkNews.action" maxPageItems="1" items="${wn.recordSum}" export="currentPageNumber=pageNumber">
				<pg:param name="pageSize" value="1"/>
				<pg:prev ifnull="true">
					<% if (pageUrl != null) { %>   
	        			<a HREF="<%=pageUrl%>" class="new_lastone">上一篇</a>
	      			<% } else { %>   
	        			<span class="new_lastone">上一篇</span>
	      			<% } %>   
				</pg:prev>
				<pg:next ifnull="true">
					<% if (pageUrl != null) { %>   
	        			<a HREF="<%=pageUrl%>" class="new_nextone">下一篇</a>
	      			<% } else { %>   
	        			<span class="new_nextone">下一篇</span>
	      			<% } %> 
				</pg:next>
			</pg:pager>
           
          </div>
        </div>
        <div class="m_r"></div>
        <div class="b_l"></div>
        <div class="b_m"></div>
        <div class="b_r"></div>
      </div></td>
  </tr>
  <%@ include file="common/include/tail.jsp"%>
</table>
</body>
</html>
